1 #ifndef BLOOD_GROUP_H_INCLUDED
2 #define BLOOD_GROUP_H_INCLUDED
3
4 #include<
string>
5 #include<iostream>

6 using
namespace std;
7 class
Blood_group
8 {

9 protected
:
10     
string Blood_group;
11 public
:
12     
string get_Blood_group();
13     
void set_Blood_group( string);
14 };

15 void
Blood_group::set_Blood_group(string n)
16 {
17     Blood_group=n;
18 }

19 string
Blood_group::get_Blood_group()
20 {
21     
return Blood_group;
22 }
23
24 #endif
// BLOOD_GROUP_H_INCLUDED


Gõ tìm kiếm nhanh...